package com.three.service;

import com.baor.baseUtil.R;
import com.three.domain.Users;
import com.three.domain.role;

import java.util.List;

public interface UserService {
    // 用户列表
    public R userList(String keyword, Integer pageIndex, Integer pageSize);
    //添加用户
    public R addUser(Users users);
    //删除用户
    public R deleteUser(List<Integer> teacher_ids);
    //修改用户
    public R updateUser(Users users);

    public R roleList();
    //添加角色
    public R addRole(role role);
    //删除角色
    public R delRole(Integer role_id);
}
